FROM python:3.10
WORKDIR /renren_python

COPY requirements.txt ./
RUN pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple

COPY . .
ENV LANG C.UTF-8

CMD ["gunicorn", "main.wsgi:application","-c","./gunicorn.conf.py"]